﻿namespace Library.Models
{
    public class Image
    {
        public string Src { get; set; }
        public string AltText { get; set; }
        public string Caption { get; set; }
        public int? Width { get; set; }
        public int? Height { get; set; }
    }

    public class ProductImage : Image
    {
        public bool? IsAvatar { get; set; }
    }

    public class PageImage : Image
    {
        public bool? IsExtraSmallAvatar { get; set; }
        public bool? IsSmallAvatar { get; set; }
        public bool? IsMediumAvatar { get; set; }
        public bool? IsLargeAvatar { get; set; }
    }
}
